package com.you.pattern.sigleton.lazy;

/**
 * 测试单例模式的懒汉式
 */
public class Main {

    public static void main(String[] args) {
        Thread t1 = new Thread(new LazySingletonExecutorThread());
        Thread t2 = new Thread(new LazySingletonExecutorThread());
        t1.start();
        t2.start();
        System.out.println("end!");
    }
}
